 
import request_1 from '../utils/request'
import globalData from '../globalData'
 
const request = new request_1({
	ApiUrl:globalData.URL
}); 
console.log(globalData.URL,'这是支付分接口的url')
//查询支付分状态
export const queryWxOrder = function (data) {
    return request.postRequest({
        url: 'api-service/api/queryWxOrder',
		data,
    });
};
 
 // 取消微信支付分分订单
export const cancelOrder = function (data) {
    return request.postRequest({
        url: 'bill-service/wxppApi/cancelOrder',
		data,
    });
}; 

// 获取模板消息
export const currentTemplateId = function (id) {
    return request.postRequest({
        url: `api-service/api/currentTemplateId/${id}`
    });
}; 

